#ifndef __MULTITASK_H
#define __MULTITASK_H

#include "System.h"

#if(RTOS_TYPE != DISABLE_RTOS)  

#include "OSAL.h"

void  		AppTaskStart(ULONG thread_input);

#endif

uint8_t     Get_RealTime(void);

uint8_t     Multitask_Init(void);

uint8_t     User_DataRest(void);

#if(RTOS_TYPE == RTOS_AZURERTOS)
void  Task_Process         (ULONG thread_input);
#elif(RTOS_TYPE == RTOS_FREERTOS)
#else
UINT8 Task_Process(void);
#endif
UCHAR 		Task_MsTimeProcess(void);

#if ENABLE_IWDG
void IWDG_Refresh(void);
#endif

#endif
